package com.haiyou.data.common.persister.mysql.meta;

import java.util.List;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.haiyou.data.common.persister.mysql.annotation.Table.RollPolicy;

@ToString(callSuper = true)
@Getter
@Setter
public class TableMeta extends AbstractMeta {
	private String entityClassName;
	private boolean columnDropable;
	private String simpleName;
	private boolean mappedSuperclass;
	private int cluster;
	private RollPolicy rollPolicy;
	private String comment;

	/** sql语句批量每一批执行条数 */
	int sqlBatchNum;

	private List<ColumnMeta> columnMetas;
	private IdColumnMeta idColumnMeta;

	/** 索引 */
	private IndexMeta[] indexMetas;
	private boolean view;
}
